<template>
	<view>
		<view class="uni-margin-wrap">
			<swiper class="swiper" circular :indicator-dots="indicatorDots" :autoplay="autoplay" :interval="interval" :duration="duration">
				<swiper-item>
					<view class="swiper-item">
						<image class="image" mode="widthFix" src="https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/ceb770c0-5164-11eb-8a36-ebb87efcf8c0.png" />
					</view>
				</swiper-item>
				<swiper-item>
					<view class="swiper-item">
						<image src='../../static/swipr1.png'></image>
					</view>
				</swiper-item>
			</swiper>
		</view>
		
		<view class="uni-title uni-common-mt">
			<view class="text" style="height: 100rpx;">尊驰汽车维修</view>
			<view class="uni-flex uni-row">
				<view class="text" style="-webkit-flex: 1;flex: 1;">详细地址：xxxxxxx</view>
				<view class="text" style="-webkit-flex: 1;flex: 1;">联系电话：1333333333</view>
			</view>
		</view>
		
<!-- 		<view class="uni-common-mt">
			<text>导航</text>>
			<view>
				<map style="width: 750rpx; height: 750rpx;" :latitude="latitude" :longitude="longitude" :markers="covers">
								</map>
			</view>
		</view> -->
	</view>
</template>

<script>
	export default {
		data() {
			return {	
				indicatorDots: true,
				autoplay: true,
				interval: 2000,
				duration: 500,
				latitude: 39.909,
				longitude: 116.39742,
				covers: [{
					latitude: 39.9085,
					longitude: 116.39747,
					iconPath: '../../static/location.png'
				}, {
					latitude: 39.90,
					longitude: 116.39,
					iconPath: '../../static/location.png'
				}]
			}
		},
		onLoad(options) {
			console.log('id=', options.id)
		},
		methods: {

		}
	}
</script>

<style>
	map {
		width: 750rpx;
		height: 750rpx;
	}
.uni-margin-wrap {
		width:690rpx;
		width: 100%;;
	}
	.swiper {
		height: 300rpx;
	}
	.swiper-item {
		display: block;
		height: 300rpx;
		line-height: 300rpx;
		text-align: center;
	}

	.swiper-list {
		margin-top: 40rpx;
		margin-bottom: 0;
	}

	.uni-common-mt{
		margin-top:60rpx;
		position:relative;
	}

	.info {
		position: absolute;
		right:20rpx;
	}

    .uni-padding-wrap {
        width:550rpx;
        padding:0 100rpx;
    }
</style>
